<template>
	<view>
		<view class="bg">
			
		</view>
		<view class="success">
			<image src="@/static/tuanzi/对 拷贝@2x.png"></image>
			<view class="title">
				预约成功
			</view>
			<view class="index">
				预约编号：32456852214562566
			</view>
			<view class="btnView">
				<u-button @click="backIndex" shape="circle" type="primary" text="返回首页"></u-button>
				<u-button @click="todetail" shape="circle" color="#BFBFBF" type="primary" text="预约详情"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			backIndex(){
				uni.navigateTo({
					url:'/pages/index/index'
				})
			},
			todetail(){
				uni.navigateTo({
					url:'/pages/lly/yuyuedetail/yuyuedetail'
				})
			}
			
		}
	}
</script>

<style>
	.bg {
		width: 100%;
		height: 300rpx;
		background-color: #3385FD;
		/* position: relative;
		position: absolute;
		top: -20rpx;
		z-index: 0; */
	}
	.success{
		background-color: white;
		width: 700rpx;
		/* margin: 0 auto; */
		border-radius: 20rpx;
		position: absolute;
		top: 50rpx;
		text-align: center;
		margin: 0 25rpx;
		padding: 80rpx 0;
	}
	.success image{
		height: 160rpx;
		width: 160rpx;
	}
	.success .title{
		margin: 30rpx 0;
		font-size: 34rpx;
		font-weight: 560;
	}
	.success .index{
		font-size: 30rpx;
		margin: 50rpx 0;
	}
	.success .btnView{
		width: 500rpx;
		margin: 0 100rpx;
		/* background-color: cadetblue; */
		display: flex;
		flex-wrap: wrap;
		height: 200rpx;
		align-items: center;
		justify-content: space-between;
	}
	
	
</style>